home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
LOGIC Apps
/
Logic-APPLE_II_APPS.iso
/
mac
/
LOGIC Apple II 5.25" Library - ProDOS
/
PRO041.dsk
/
ZBASIC.DEMO.DOC.txt
< prev
next >
Wrap
Text File
|
2012-02-16
|
9KB
|
210 lines
ZBasic Version 4.0 Demonstration Documentation
A product of Zedcor, Inc.
Welcome to the most powerful BASIC available for the Apple //'s. If you're
tired of the limitations that Applesoft (and all of the various Applesoft
compilers) put on you, you have a pleasant surprise in store for you.
This demonstration version has everything that the standard version has, with
the following limitations built in:
The edit buffer is limited to 4K of source code space.
The system does not automatically use a /RAM disk, if installed.
You will not be able to compile a program to disk.
You will not be able to save your configuration.
In addition, this is the 64K ProDOS version. The complete ZBasic package
includes a 64K version that will run on any 64K Apple, and a 128K version,
which requires 128K for both program development and execution. Of course,
there are trade-offs between either version. The 64K version only has about
18K of work space, but it will allow you to write programs that will run on
the older Apple ]['s. The 128K version has a lot more room available (26K
program, 28K variables and file buffers), but requires at least 128K of memory
and a 65C02 (or equivalent) processor.
You will need at least one disk drive to use ZBasic (but who doesn't have a
disk drive these days!). ZBasic also supports (but does not require) a
printer and interface, serial interfaces, 80-column cards, a mouse
w/interface, a joystick, or any other peripheral you have attached.
Instructions for Use
--------------------
First of all, you must have ProDOS booted prior to entering ZBasic. From the
Applesoft prompt enter:
PREFIX <whatever directory the ZBASIC.SYSTEM file resides in>
-ZBASIC.SYSTEM
You will soon see the ZBasic title page. Check out the artwork (!), then
press any key to continue on into the system. You will come to the
configuration menu eventually. At this point, you can either press "E" to
enter the line editor, or "C" to configure the system to your liking.
Configuration
This is where you can set up ZBasic to your own preferences. You can set the
size of floating point variables (both single and double precision), maximum
file buffers open (you are limited to 1 in this demo version), array base
(either 0 or 1), default variable type, and some other stuff. If you get to
an option that you don't wish to change, simply press the RETURN key to accept
the current value. Once the configuration options have all been presented,
you will be given the option of configuring again, or entering the editor.
A Typical ZBasic Session
We'll walk you through a typical ZBasic session to show you how to TYPE, RUN,
SAVE, QUIT, and LOAD your programs. First of all, get into the editor by
typing "E" from the configure menu. Then type in this program exactly as
shown. Remember to press RETURN at the end of each line:
10 FOR COUNT = 1 TO 10
20 PRINT "HI THERE, I'M ZBASIC!---"
30 NEXT COUNT
Congratulations, you've just entered your first ZBasic program. To see the
program type:
LIST
or
L
and press RETURN. To run the program, type:
RUN
and press RETURN (just like an interpreter). The program will print "HI
THERE, I'M ZBASIC!---" on the screen ten times. To save your program, type:
SAVE MYPROG
Your program will be saved to disk for any possible future use. To make sure
it got there, type:
DIR
A directory of your disk will appear, with MYPROG somewhere in the list. The
file type will be ZBS, which stands for a ZBasic tokenized program. You also
have the option of saving in pure ASCII format, but more on that later. To
get out of ZBasic, type:
QUIT
You will then be prompted for the next ProDOS ".SYSTEM" program to run. To
load a previously saved program, get back into ZBasic, then type:
LOAD MYPROG
Your program will be reloaded, ready for whatever you wish to do with it. One
other command that will be VERY useful while using this demonstration is the
HELP command. Typing HELP while in the editor will give you an index of the
main help topics available. Press the space bar to scroll through the topics.
I say this is going to be useful because this is basically where all of the
documentation is going to be for you. The regular ZBasic manual is about 700
pages long, and I'm NOT going to type all that into this file! The help file
contains information on all of the features of ZBasic, although the
information is somewhat terse.
Full Screen Editor
You also have a full screen text editor available for editing your programs.
To get into it type
EDITOR
while in the line editor. The program currently in memory will be transformed
into an ASCII file, and then loaded into the full screen editor. The commands
available are summarized in the following chart.
------------------------------------------------------------------------------
| 40-column editor | Cursor Movement | 80-column editor |
------------------------------------------------------------------------------
| CTRL-S | Left 1 character | Left arrow |
| CTRL-D | Right 1 character | Right arrow |
| CTRL-A | Left 1 word | Open-Apple-Left arrow |
| CTRL-F | Right 1 word | Open-Apple-Right arrow |
| CTRL-Q CTRL-S | To beginning of line | Solid-Apple-Left arrow |
| CTRL-Q CTRL-D | To end of line | Solid-Apple-Right arrow |
| CTRL-E | Up 1 line | Up arrow |
| CTRL-X | Down 1 line | Down arrow |
| CTRL-R | Up 1 page | Open-Apple-Up arrow |
| CTRL-C | Down 1 page | Open-Apple-Down arrow |
| CTRL-Q CTRL-R | To beginning of file | Solid-Apple-Up arrow |
| CTRL-Q CTRL-C | To end of file | Solid-Apple-Down arrow |
------------------------------------------------------------------------------
| | Commands | |
------------------------------------------------------------------------------
| CTRL-K CTRL-Q | Return to Line Editor | ESC |
| Left Arrow | Delete character | Delete |
| CTRL-Q Left Arrow | Delete to beginning | Open-Apple-Delete |
| | of line | |
| CTRL-Q CTRL-Y | Delete to end of line | Solid-Apple-Delete |
| CTRL-V | Switch Insert/Overwrite | Open-Apple-0 |
| CTRL-K CTRL-N | Clear text buffer | Solid-Apple-0 |
| CTRL-K CTRL-L | Load File | Open-Apple-1 |
| CTRL-K CTRL-S | Save File | Solid-Apple-1 |
| CTRL-K CTRL-X | Cut Line | Open-Apple-2 |
| CTRL-K CTRL-V | Paste Line | Solid-Apple-2 |
| CTRL-K CTRL-C | Copy Line | Open-Apple-3 |
| CTRL-K CTRL-R | Replace Line | Solid-Apple-3 |
| CTRL-N | New Line | Open-Apple-4 |
| CTRL-Y | Delete Line | Solid-Apple-4 |
| CTRL-Q CTRL-F | Find | Open-Apple-5 |
| CTRL-L | Find next occurrence | Solid-Apple-5 |
| CTRL-K CTRL-I | Set TAB Value | Open-Apple-6 |
| CTRL-Q CTRL-I | Autotab on/off | Solid-Apple-6 |
| CTRL-K CTRL-F | Restore Line | Open-Apple-7 |
| CTRL-K CTRL-P | Print Text | Solid-Apple-7 |
| CTRL-Z | Scroll Up | Open-Apple-8 |
| CTRL-W | Scroll Down | Solid-Apple-8 |
| CTRL-K CTRL-T | Freeze Top | Open-Apple-9 |
| CTRL-K CTRL-B | Freeze Bottom | Solid-Apple-9 |
------------------------------------------------------------------------------
The descriptions seem to be a little terse right now, but just play with them
a little and get a feel for what they do. Full descriptions are provided in
the ZBasic user's manual.
That's about it for this documentation. Everything that you should need to
get a feel for ZBasic can be found with the HELP command. If you decide that
you want a full working copy, then type "RUN ORDER.BLANK" while in the editor.
This program will print an order form on your printer that you can use to
order ZBasic. If you don't have a printer yet, then call 1-800-452-4567 toll
free. Have your credit card ready. The price is $49.95.
If you have any questions, you can call us directly, or leave mail on GEnie,
address [ZBASIC].
Enjoy!